<meta charset="UTF-8">
<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

$wysj = 95;
$js = 90;
$html = 90;
$ave = ($wysj + $js + $html)/3
?>
<?php 
echo "网页设计的成绩是："."$wysj"."</br>";
echo "Javascrip的成绩是:"."$js"."</br>";
echo "HTML+CSS的成绩是："."$html"."</br>";
echo "三门课程的平均分是："."$ave"."</br>";
?></br>

<table>
    <tr>
        <th>课程</th>
        <th>成绩</th>
    </tr>
    <tr>
        <td>网页设计</td>
        <td><?php echo "$wysj"; ?></td>
    </tr>
    <tr>
        <td>Javascrip</td>
        <td><?php echo "$js"; ?></td>
    </tr>
    <tr>
        <td>HTML+CSS</td>
        <td><?php echo "$html"; ?></td>
    </tr>
    <tr>
        <td>三门课程的平均分</td>
        <td><?php echo "$ave"; ?></td>
    </tr>
</table></br>

<?php 
define("PI", 3.1415);
echo PI."</br>";
const pi01 = 3.14;
echo pi01."</br>";
define("DRPATH" , "c:/wamp/www/");
echo DRPATH . "kongbbs/index1.php";

?>
